package yhao.demo.service.erp.workflow.apilist.model.flow;

import io.swagger.annotations.ApiModelProperty;
import yhao.demo.service.erp.workflow.apilist.enums.task.RuleItemType;
import yhao.infra.common.model.Entity;

public class FlowNodeItemModel extends Entity<String> {
    @ApiModelProperty("当前节点ID")
    private String nodeId;
    @ApiModelProperty("事项名称")
    private String itemName;
    @ApiModelProperty("事项条目设置，json格式，包含数组内容，数组内元素至少含有{\"result\"}结果项")
    private String itemConfig;
    @ApiModelProperty("期望结果")
    private String itemExcept;
    @ApiModelProperty("期望类型")
    private RuleItemType itemExceptType;
    @ApiModelProperty("是否必要条件")
    private boolean necessary;

    public String getNodeId() {
        return nodeId;
    }

    public void setNodeId(String nodeId) {
        this.nodeId = nodeId;
    }

    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getItemConfig() {
        return itemConfig;
    }

    public void setItemConfig(String itemConfig) {
        this.itemConfig = itemConfig;
    }

    public String getItemExcept() {
        return itemExcept;
    }

    public void setItemExcept(String itemExcept) {
        this.itemExcept = itemExcept;
    }

    public RuleItemType getItemExceptType() {
        return itemExceptType;
    }

    public void setItemExceptType(RuleItemType itemExceptType) {
        this.itemExceptType = itemExceptType;
    }

    public boolean isNecessary() {
        return necessary;
    }

    public void setNecessary(boolean necessary) {
        this.necessary = necessary;
    }
}
